home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part1 / 1550 < prev    next >
Encoding:
Internet Message Format  |  1996-08-06  |  1.3 KB

  1. Path: news.rain.org!usenet
  2. From: "Guus Leeuw jr." <guusl@eiffel.com>
  3. Newsgroups: comp.lang.c++
  4. Subject: Re: Beginner Questions
  5. Date: Thu, 11 Jan 1996 08:33:01 -0800
  6. Organization: ISE Inc. http://www.eiffel.com
  7. Message-ID: <30F53BBD.C926446@eiffel.com>
  8. References: <4d1i7o$ald@newsbf02.news.aol.com>
  9. NNTP-Posting-Host: @outback.eiffel.com
  10. Mime-Version: 1.0
  11. Content-Type: text/plain; charset=us-ascii
  12. Content-Transfer-Encoding: 7bit
  13. X-Mailer: Mozilla 2.0b3 (X11; I; Linux 1.2.8 i586)
  14.  
  15. JKenn23333 wrote:
  16. > I have two questions about C++  ---
  17. > First, what is a "pointer" and what does it do?
  18.  
  19.   A pointer is (like the point finger) something that points to other
  20. things around.
  21.  
  22.   In more C++ terms: A pointer points to other objects. Through that
  23. pointer an object can be accessed.
  24.  
  25.   Please read your C++ teaching book for more details. It's a rather
  26. long story to tell...
  27.  
  28. > Second, what is the "inline" function do?
  29.  
  30. When a function is declared as `inline' each call to that function will
  31. not result in an actual call, but the code of that function will be
  32. copied to the spot in the program where the call is made. Think of it as
  33. a macro that is defined through `#define'.
  34.  
  35. > Thanks for your help, I appreciate it!!
  36. >                                        Patrick Kennedy
  37. >     Please respond to Patrick.Kennedy@bbs.mhv.net
  38.  
  39. Hope this explains,
  40.     Guus Leeuw jr.
  41.